package priv.wangy.micro.server.serverdemo;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import priv.wangy.micro.common.config.feign.DefaultFeignConfiguration;
import tk.mybatis.spring.annotation.MapperScan;

/**
 *
 * @author wangy
 * @since 10:29 2024/12/3
 **/
@EnableScheduling
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.whminwei.edu.api"}, defaultConfiguration = DefaultFeignConfiguration.class)
@MapperScan("priv.wangy.micro.server.serverdemo.dao")
@SpringBootApplication
public class ServerDemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServerDemoApplication.class, args);
    }

}
